﻿using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;

namespace SistemaAdministracion.Models.BaseClass
{
    [Table("vigcontrato", Schema = "contrato")]
    public class VigContrato
    {
        [Column("idfichaempleado")]
        public int IdFichaEmpleado { get; set; }
        [Column("idvigcontrato")]
        public int IdVigContrato { get; set; }
        [Column("fechainicio")]
        public DateTime FechaInicio { get; set; }
        [Column("fechatermino")]
        public DateTime FechaTermino { get; set; }
        [Column("idrazontermino")]
        public int IdRazonTermino { get; set; }
        [Column("descripcion")]
        public string Descripcion { get; set; }
        [Column("finiquitado")]
        public int Finiquitado { get; set; }

        public virtual FichaEmpleado FichaEmpleado { get; set; }
    }
}
